package com.gtq.uhome.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.stereotype.Component;

import java.sql.Timestamp;
import java.util.List;

/**
 * @author ylhy
 * @Describe
 * @create 2020-08-10 12:27
 */

@Data
@ApiModel
@EqualsAndHashCode()
public class OrderInforBase {

    @ApiModelProperty(value = "流水单号")
    private String serialNumber;

    @ApiModelProperty(value = "收银台号")
    private String cashNumber;


    @ApiModelProperty(value = "金额")
    private Integer price;

    @ApiModelProperty(value = "重量")
    private Integer heavy;

    @ApiModelProperty(value = "箱数")
    private Integer supCount;

    @ApiModelProperty(value = "订单id")
    private String orderId;

    @ApiModelProperty(value = "收货人名字")
    private String consigneeName;

    @ApiModelProperty(value = "收货人电话")
    private String consigneePhoneNumber;

    @ApiModelProperty(value = "收货人备用电话")
    private String standbyPhoneNumber;

    @ApiModelProperty(value = "收货人地址")
    private String consigneeAddress;

    @ApiModelProperty(value = "站点派单时间  站点指定给牌送员的时间,作为剩余送货时间的主要参考")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Timestamp deliveryTime;

    @ApiModelProperty(value = "派送员取货时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Timestamp pickTime;

    /*@ApiModelProperty(value = "剩余送货时间  站点排送时间 - 常量")
    private String lastSendTime;*/

    @ApiModelProperty(value = "签收时间,和完成时间一致")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Timestamp finishTime;

    @ApiModelProperty(value = "收银时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Timestamp streamTime;


    @ApiModelProperty(value = "审核时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Timestamp checkTime;


    @ApiModelProperty(value = "订单的生鮮分类的信息")
    private SXOrderTwo[] SXOrderTwoList;
}
